﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Collections.ObjectModel;

namespace BbsbWebService.Classes
{
    public class ControllableItemCollection : ObservableCollection<ControllableItem>
    {
        public void Refresh(IEnumerable<ControllableItem> items)
        {
            this.Clear();
            foreach (var item in items)
            {
                this.Add(item);
            }
        }
    }
}
